﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="stageSet.aspx.cs" Inherits="YWJiXiao.App.WebForm.AdminManage.Pages.stageSet" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>阶段设置</title>
    <link rel="stylesheet" href="../../Styles/reset.css"/>
    <link rel="stylesheet" href="../../bootstrap334/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../../styles/base.css"/>
    <script src="../../Scripts/jquery.2.0.js" type="text/javascript"></script>
    <script src="../../bootstrap334/js/bootstrap.min.js" type="text/javascript"></script>
    <style type="text/css">
        body{ margin-left:40px;}
    .statitle{ font-weight:bold;}
    .table-bordered td{ padding:6px;}
    </style>
    <script type="text/javascript">
        $(function () {
            $("#btnBeginSetUp").click(function () {
                var url = $(this).attr('url');
                $.get(url, function (result) {
                    alert(result);
                });
                return false;
            });
            $("#btnEndSetUP").click(function () {
                var url = $(this).attr('url');
                $.get(url, function (result) {
                    alert(result);
                });
                return false;
            });
            $("#btnStartEval").click(function () {
                var url = $(this).attr('url');
                $.get(url, function (result) {
                    var obj = eval('(' + result + ')');
                    if (obj.suc == '1') {
                        alert('设置成功');
                    }
                });
                return false;
            });
            $("#btnENdEval").click(function () {
                var url = $(this).attr('url');
                $.get(url, function (result) {
                    alert(result);
                });
                return false;
            });
        });
    </script>
</head>
<body style="">
    <form id="form1" runat="server">
    <table class="table-bordered" style=" width:400px; margin-top:10px;">
        <tr>
            <td colspan="2">2015上半年</td>
        </tr>
        <tr>
            <td width="70">设定阶段</td>
            <td>
                <asp:Button ID="btnBeginSetUp"    CssClass="btn btn-info" runat="server" Text="开始设定" />
                <asp:Button ID="btnEndSetUP" CssClass="btn btn-danger" runat="server" Text="结束设定" />
            </td>
        </tr>
        <tr>
            <td>考核阶段</td>
            <td>
                <asp:Button ID="btnStartEval" CssClass="btn btn-info" runat="server" Text="开始考核" />
                <asp:Button ID="btnENdEval" CssClass="btn btn-danger" runat="server" Text="结束考核" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
